package com.wrk._1_语法._01_基本数据类型;

public class _001_交换变量1 {
      public static void main(String[] args) {
          int num1 = 1;
          int num2 = 9;
          //定义临时变量
          int tol;
          tol = num1;
          num1 = num2;
          num2 = tol;
          System.out.println("num1="+num1);
          System.out.println("num2="+num2);
      }

}
